package com.douqu.game.merge;

import com.douqu.game.core.database.model.PlayerModel;
import com.douqu.game.core.database.model.UserModel;

/**
 * @Author: Bean
 * @Description:
 * @Date: 2018-03-24 15:47
 */
public class MergePlayer {

    private int id;

    private UserModel userModel;

    private PlayerModel playerModel;

    public MergePlayer(UserModel userModel, PlayerModel playerModel)
    {
        this.userModel = userModel;
        this.playerModel = playerModel;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public UserModel getUserModel() {
        return userModel;
    }

    public void setUserModel(UserModel userModel) {
        this.userModel = userModel;
    }

    public PlayerModel getPlayerModel() {
        return playerModel;
    }

    public void setPlayerModel(PlayerModel playerModel) {
        this.playerModel = playerModel;
    }

    @Override
    public String toString() {
        return "{" +
                "id=" + id +
                ", userModel=" + userModel +
                ", playerModel=" + playerModel +
                '}';
    }
}
